<template>
  <div class="nofound">
    <div class="head">
       <div class="header">
        <div @click="back()" class="iconfont ret icon-fanhui"></div>
        <div>{{text}}</div>
      </div>
    </div>
   
    <div class="box">
      <div class="iconfont icon-wushuju icon">
        <div>无数据</div>
      </div>
    </div>
  </div>
</template>

<style lang = "less">
.nofound {
  height: 100vh;
  width: 100vw;
  background: rgb(240, 242, 245);
  position: relative;
  /* .ret {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(158, 157, 157, 0.3);
    padding: 10px;
    padding-left: 13px;
    color: white;
    border-radius: 50%;
  } */
  .head{
    background: rgb(76, 192, 228);
  }
  .header {
    color: white;
    padding: 10px;
    padding-left: 20px;
    display: flex;
    width: 60%-6px;
    justify-content: space-between;
    .ret {
      padding-top: 3px;
    }
  }
  .box {
    .icon {
      color: #e0e0e0;
      position: absolute;
      top: 16%;
      left: 32%;
      /* right: 0; */
      margin: auto;
      font-size: 100px;
      div {
        font-size: 16px;
      }
    }
  }
}
</style>

<script>
export default {
  data() {
    return {
      text:""
    };
  },
  created(){
    this.text = this.$route.params.message
  },
  methods: {
    back(){
      this.$router.go(-1)
    }
  },
  components: {},
};
</script>